0ae344a243c8fdf4e98fe257a7b1b6f76dd35f3c,mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryExportDialog.java,MapillaryExportDialog,MapillaryExportDialog,#JButton#,63

Before Change


      this.selected.setEnabled(false);
    }
    this.rewrite.setEnabled(false);
    for (MapillaryAbstractImage img : MapillaryLayer.getInstance().getData().getImages()) {
      if (img instanceof MapillaryImportedImage) {
        this.rewrite.setEnabled(true);
      }

After Change


    if (MapillaryLayer.getInstance().getData().getMultiSelectedImages().isEmpty()) {
      this.selected.setEnabled(false);
    }
    this.rewrite.setEnabled(MapillaryLayer.getInstance().getData().getImages().parallelStream().anyMatch(img -> img instanceof MapillaryImportedImage));

    this.path = new JLabel(tr("Select a folder"));
    this.choose = new JButton(tr("Explore"));